// import 'package:smart_home/model/device.dart';
import 'package:smart_home/service/network/dio.dart';

class SerarchDeviceApi {
  static Future getDeviceList({int? devFirstType,int? limit,int? cursor,String? deviceName}) async {
    print(devFirstType);
    return await Request.get("/common2/devices",
        params: {"cursor": cursor ?? 1, "deviceName": deviceName ?? "","limit": limit ?? 999, "devFirstType": devFirstType});
  }
}
